const doSomething = () => console.log('测试')
const measureDoingSomething=()=>{
    console.time('doSomething()')
    doSomething()
    console.timeEnd('doSomething()')
}

console.log('\x1b[33m%s\x1b[0m', '你好')
measureDoingSomething()